<template>
  <el-dialog title="提示" :visible.sync="dialogVisible" width="850" center :before-close="handleClose" class="video-dialog">
    <span slot="title"></span>
    <video controls width="800" :src="url">
    </video>
  </el-dialog>
</template>

<script>
export default {
  name: "audioPreview",
  data()
  {
    return {
      dialogVisible: false,
      url: ""
    }
  },
  methods: {
    show(url)
    {
      this.dialogVisible = true;
      this.url = url;
    },
    handleClose()
    {
      this.dialogVisible = false;
    }
  }
}
</script>

<style lang="scss" scoped>
.video-dialog {
  ::v-deep .el-dialog {
    width: 850px !important;
  }
}
</style>